package com.atguigu.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.atguigu.pojo.TravelGroup;
import com.atguigu.vo.PageResult;

import java.util.List;

/**
 * @author zhengkaiyuan
 * @version 1.0
 * @create 2021-06-21 10:38
 */

public interface TravelGroupService {

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    void add(TravelGroup travelGroup, Integer[] travelItemIds);

    void delete(Integer id);

    TravelGroup findById(Integer id);

    List<Integer> findTravelItemIdByTravelgroupId(Integer id);

    void edit(TravelGroup travelGroup,Integer[] travelItemId);

    void editTravelItem(Integer id, Integer[] travelItemId);

    List<TravelGroup> findAll();

    String downLoadFile(String path, String queryString) throws Exception;
}
